Ext.define('SA.view.survey.QuestionDataView', {
	extend: 'Ext.view.View',
	alias: 'widget.questionDataView',
	
	layout: 'fit',
	store: 'Questions',
	
	componentCls: 'x-question-dataview',
	
	itemSelector: 'div.question-wrap',
	emptyText: 'No questions defined yet.',
	
	tpl: new Ext.XTemplate(
		'<tpl for=".">',
        '<div class="question-wrap">',
          '<h2>{questionId}. {questionText}</h2>',
        '</div>',
        '</tpl>'
	),

	
	multiSelect: false,
	autoScroll: true,
	trackOver: true,

	initComponent: function() {
		console.log('QuestionDataView initComponent fired.');
		this.callParent(arguments);
		
	}

});